package com.dao.intf;

import com.entity.Comment;

import java.util.List;

public interface CommentDao {

    //根据博客文章id来查所有评论
    public List<Comment> queryCommentByBlogId(Integer blogId);

    //增加评论
    public int addComment(Comment comment);

    //删除评论
    public int deleteComment(Integer commentId);
}
